<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Stringer JavaScript Test Suite</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
    <script src="<%= javascript_path 'application' %>"></script>

    <% js_files.each do |js_file| %>
      <script src="<%= js_file %>"></script>
    <% end %>
    <% css_files.each do |css_file| %>
      <link rel="stylesheet" type="text/css" href="<%= css_file %>">
    <% end %>

    <!-- Javascript templates -->
    <%= render("stories/templates") %>
  </head>
  <body>
    <div id="mocha"></div>
    <script type="text/javascript">
      if(window.mochaPhantomJS) {
        mochaPhantomJS.run();
      } else {
        mocha.run();
      }
    </script>
  </body>
</html>
